package com.letoken.platform.repo.ecommerce.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "用户商品响应对象", description = "用户商品响应对象")
public class UserProductRes {


    @ApiModelProperty(value = "商品ID")
    private Integer id;
    @ApiModelProperty(value = "商品图片")
    private String pic;
    @ApiModelProperty(value = "商品标题")
    private String title;
    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "实际价格")
    private BigDecimal realPrice;

    @ApiModelProperty(value = "销量")
    private Integer sale;

    @ApiModelProperty(value = "标签")
    private String tags;


    @ApiModelProperty(value = "店家ID")
    private Integer mallId;

    @ApiModelProperty(value = "店铺logo")
    private String logo;

    @ApiModelProperty(value = "店铺名称")
    private String mallName;

    // 让利值
    private BigDecimal contributing;
}
